/**
 *Project: jh-framework
 *File: cn.xkshow.third.sms.hydx.HydxSMSHandleImp.java 
 *Author: admin@xkshow.cn with the copyrite
 ****************************************************************
 *   VERSION       DATE            BY       CHANGE/COMMENT
 * --------------------------------------------------------------
 *    1.0        2013-4-27        hardy         create
 ****************************************************************
 *note:
 ***************************************************************/ 
package cn.xkshow.third.sms.hydx;

import java.util.Properties;

import cn.xkshow.io.file.PropertFile;
import cn.xkshow.third.sms.bean.SMSHandle;
import cn.xkshow.third.sms.hydx.HydxBean;

public class HydxSMSHandleImp implements SMSHandle {
	private static HydxSMSHandleImp instance = null;
	
	private HydxSMSHandleImp(){}
	public static HydxSMSHandleImp getInstance(){		
		if(null == instance){
			instance = new HydxSMSHandleImp();
			inits();
		}
		return instance;
	}
	private static void inits() {
		Properties pros = PropertFile.getInstance()
				.loadingProperties("org/hardy/third/sms/initsSMS.properties");
		if (pros != null) {
			HydxBean.HYDX_UC = pros.getProperty("sms.kltx.url.reg");
			HydxBean.HYDX_PWD = pros.getProperty("sms.kltx.return.url");
		}
	}

	public String send(String[] toMobile, String txts) {
		// TODO Auto-generated method stub
		return null;
	}

}
